package org.zhenggn.designpattern.strategy;

/**
 *
 * Created by zhengguinan on 2017/9/14.
 */
public class Client {
    public static void main(String[] args) {
        Strategy strategy = new LargeCustomerStratety();
        Price ctx = new Price(strategy);
        double quote = ctx.quote(1000);
        System.out.println("向客户报价："+quote);

    }
}
